<template>
    <div class="search">
        <div class="allHead">
            <div class="get-header">
                <router-link to="/recommend" class="backLeft">
                    <i class="get-icon">&#xe600;</i>
                </router-link>
                <div class="get-inputDiv">
                    <i class="get-icon">&#xe643;</i>
                    <input type="text" placeholder="搜索热门景点或路线">
                </div>
                <button class="searchButton">搜索</button>
            </div>
        </div>
        <p style="margin-bottom: 15px;width: 100%;height: 1px;background: #eeeeee"></p>
        <div class="cur-location">
            <p>搜索历史</p>
            <ul class="curHotUl">
                <li>
                    <div>峨眉山 </div>
                </li>
                <li>
                    <div>青城山</div>
                </li>
                <li>
                    <div>剑门关</div>
                </li>
                <li>
                    <div>九寨沟</div>
                </li>
            </ul>
        </div>
    </div>
</template>

<script>
    export default {}
</script>

<style>
    /*.....get-header.....*/
    .sea-header {
        width: 686px;
        height: 60px;
        margin: 70px auto;
        display: flex;
        position: relative;
    }

    .backLeft {
        display: block;
        width: 60px;
        height: 60px;
        line-height: 60px;
        text-align: center;
    }

    .backLeft > i {
        color: black;
    }

    .sea-inputDiv {
        width: 608px;
        height: 100%;
        position: absolute;
        right: 0;
        display: flex;
    }

    .sea-inputDiv > i {
        display: inline-block;
        flex: 1;
        text-align: center;
        line-height: 60px;
        border-bottom-left-radius: 30px;
        border-top-left-radius: 30px;
        background: #e5e5e5;
    }

    .sea-inputDiv > input {
        display: inline-block;
        flex: 7;
        outline: none;
        border: none;
        border-bottom-right-radius: 30px;
        border-top-right-radius: 30px;
        background: #e5e5e5;
    }
    .sea-inputDiv>.sea-searchText{
        flex: 2;
    }
    .sea-searchText>button{
        width: 96px;
        height: 100%;
        background: none;
        border: none;
        font-size: 28px;
        outline: none;
    }

    /*.....get-header.....*/
</style>
